﻿using Coldairarrow.Entity.MEGA;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.MEGA
{
    public interface IMEGA_LeafBladeAndMaterialBusiness
    {
        Task<PageResult<MEGA_LeafBladeAndMaterialDTO>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<MEGA_LeafBladeAndMaterial> GetTheDataAsync(string id);
        Task AddDataAsync(MEGA_LeafBladeAndMaterial data);
        Task UpdateDataAsync(MEGA_LeafBladeAndMaterial data);
        Task DeleteDataAsync(List<string> ids);
    }

    public class MEGA_LeafBladeAndMaterialDTO: MEGA_Material
    {
        /// <summary>
        /// 叶片id
        /// </summary>
        public string LBId { get; set; }

        /// <summary>
        /// 材料id
        /// </summary>
        public string MId { get; set; }

    }
}